using RockHopper.Common.Model;

namespace RockHopper.TrainingCalculator.WinRT.Utils
{
    public static class StringExtensions
    {
        public static string AppendPaceUnits(this string value, PaceUnitType units)
        {
            return value + " " + (units == PaceUnitType.Kilometres ? "min/km" : "min/mile");
        }
    }
}